<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This tests for a bug where content pasted at the end of a paragraph would be
// inserted into the next paragraph.  You should see 'helloworld' below.
selection_test(
    '<div contenteditable>hello|</div>',
    'InsertHTML <span><div>world</div></span>',
    '<div contenteditable>helloworld|</div>',
    'InsertHTML at end of a paragraph');
</script>
